import numpy as np

a = np.array([1,2,3,4,5])
print("初始化数组:",a)
print("方差后的数组:",np.var(a))